:root {
  --bg: #05070a;
  --panel: #0b1118;
  --card: #091017;
  --line: #11202f;
  --text: #dce5ee;
  --muted: #92a0af;
  --green: #5dff88;
  --blue: #58beff;
  --yellow: #ffdd5f;
  --white: #ffffff;
  --red: #ff5e5e;
}

html {
	height: 100%;
}

body {
  display: flex;
  justify-content: center;	
  margin: 0;
  background: rgb(240, 240, 240);
  background-repeat: repeat;
}

.base {
  width: 1280px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  background: rgb(255, 255, 255);
}

header {
  display: block;
  position: relative; 
  margin-bottom: 10px;
  width: 1180px;
  margin: auto;
}

nav {
  margin: auto;	
  display: block;
  margin-bottom: 10px;
  position: relative;  
  width: 1180px;
}

footer {
  display: block;
  position: relative;  
  width: 1180px;
  margin: auto;
}

main {
  display: block;
  position: relative;  
  width: 1280px;
  margin: auto;
}

a, a:hover, a:active, a:visited {
 color: inherit;
 text-decoration: none;	
}

input[type="button"], input[type="submit"] {
	border: 2px outset gray;
}	

.alerts{
	width: 600px;
	height: 320px;	
	top: 50%;
	left: 50%;
	margin-top: -160px;
	margin-left: -300px;	
	z-index: 1010;
	position: fixed;
}

.alerts-fon{ 
	z-index: 1008; 
	position: fixed; 
	background-color: #000000; 
	opacity: 0.8; 
	-moz-opacity: 0.8; 
	filter: alpha(opacity=80);
	width: 100%; 
	height: 100%; 
	top: 0; 
	left: 0;
}

.alerts-messages{
	width: 600px;
	height: auto;	
	bottom: -15px;
	right: -15px;
	z-index: 1006;
	position: fixed;
}

.alerts-close{
	position: absolute; 
	top: 30px; 
	right: 40px;
	width: 30px;
	height: 30px;	
	cursor: pointer;
}

.alerts-error{
	background:#FFCCCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 3px;
	margin: 20px;
}

.alerts-info{
	background:#CCFFCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 3px;
	margin: 20px;
}

.alerts-question{
	background:#FFFFCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 3px;
	margin: 20px;
}

.alerts-data{
	background:#FFFFCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 3px;
	margin: 20px;
}

.alerts-input{
	background:#CCFFFF;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 3px;
	margin: 20px;
	text-align: center;
}

.alerts-edit{
	background:#CCFFFF;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 3px;
	margin: 20px;
}

.alerts-message{
	background:#FFFFDD;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 3px;
	margin: 20px;
}

.events-messages{
	width: 480px;
	height: auto;	
	top: 5px;
	right: -15px;
	z-index: 1006;
	position: fixed;
}

.events-message{
	background:#FFCCCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 3px;
	margin: 20px;
}

.events-text{
	font-family: Arial, serif;
	font-weight: bold;
	font-size: 24px;
	color: rgb(157, 13, 22);
	text-align: center;
	margin: 20px;
}

.error-button { 
	font-size: 18px; 
	font-weight: bold; 
	width: 200px; 
	height: 40px;
	color: white;
	margin-left: 180px;
	background-color: red;
}

.info-button { 
	font-size: 18px; 
	font-weight: bold; 
	width: 200px; 
	height: 40px;
	color: white;
	margin-left: 180px;
	background-color: green;
}

.error-text{
	font-family: Arial, serif;
	font-weight: bold;
	font-size: 24px;
	color: red;
	text-align: center;
	margin: 20px;
}

.info-text{
	font-family: Arial, serif;
	font-weight: bold;
	font-size: 24px;
	color: green;
	text-align: center;
	margin: 20px;
}

.question-text{
	font-family: Arial, serif;
	font-weight: bold;
	font-size: 24px;
	color: orange;
	text-align: center;
	margin: 20px;
}

.input-text{
	font-family: Arial, serif;
	font-weight: bold;
	font-size: 24px;
	color: rgb(11, 11, 97);
	text-align: center;
	margin: 20px;
}

.message-text{
	font-family: Arial, serif;
	font-weight: bold;
	font-size: 24px;
	color: rgb(11, 11, 97);
	text-align: center;
	margin: 20px;
}

.input-button{
	background-color: rgb(11,11,97); 
	color: white; 
	font-family: Arial, serif; 
	font-size: 20px; 
	width: 34px; 
	height: 34px;
}

.message-button { 
	font-size: 18px; 
	font-weight: bold; 
	width: 300px; 
	height: 40px;
	color: white;
	margin-left: 130px;
	background-color: rgb(11, 11, 97);
}

.input-edit{
	width: 100px; 
	height: 30px; 
	font-family: Arial, serif; 
	font-size: 20px; 
	color: black; 
	text-align: center;
}

.main_title{
 width: 1160px; 
 height: auto;
 margin: 0px 0px 0px 0px;
 background-color: rgb(240, 240, 240);
 box-shadow: 0 0 3px rgba(0,0,0,0.5);
 display: block;
 font-family: Arial, serif;
 padding: 10px;
 text-align: center;
 text-decoration: none;
 font-size: 24px;
 font-weight: bold;
}	

.main_page{
 width: 910px; 
 height: auto;
 min-height: 320px;
 margin: 10px 0px 0px 0px;
 padding: 10px;
 background-color: rgb(240, 240, 240);
 box-shadow: 0 0 3px rgba(0,0,0,0.5);
}	

.main_side_left{
 float: left; 
 width: 240px; 
 height: auto;
 min-height: 320px;
 padding: 0px 0px 0px 0px;
 background-color: rgb(255, 255, 255);
}	

.main_block_left{
 float: left; 
 width: 240px; 
 height: auto;
 min-height: 320px;
 padding: 0px 5px 0px 50px;
 background-color: rgb(255, 255, 255);
}	

.main_block_right{
 float: left; 
 width: 930px; 
 height: auto;
 min-height: 320px;
 padding: 0px 50px 0px 5px;
 background-color: rgb(255, 255, 255);
}	

.logo_img2 { 
 float: left; 
 width: 120px; 
 height: 120px;
 margin-top: 10px;
 margin-left: 30px;
 background: rgb(255, 255, 255);
}

.logo_img3 { 
 float: left; 
 width: 120px; 
 height: 120px;
 margin-top: 10px;
 margin-right: 30px;
 background: rgb(255, 255, 255);
}

.logo_txt2 { 
 float: left; 
 width: 1000px; 
 height: 120px;
 margin-top: 10px;
 background: rgb(255, 255, 255);
}

.logo_txt3 { 
 float: left; 
 width: 850px; 
 height: 120px;
 margin-top: 10px;
 background: rgb(255, 255, 255);
}

.logo_slogan2 { 
 width: 100%; 
 font-family: Arial;
 font-weight: 700;
 font-size: 36px;
 text-align: center;
 color: #9D0D16;
 margin-top: -10px; 
 text-shadow: 0px 5px 5px rgba(0,0,0,0.3);
}

.logo_img { 
 float: left; 
 width: 250px; 
 height: 260px;
 margin-top: 20px;
 background: rgb(255, 255, 255);
}

.logo_txt { 
 float: left; 
 width: 680px; 
 height: 260px;
 margin-top: 10px;
 background: rgb(255, 255, 255);
}

.logo_slogan { 
 width: 100%; 
 font-family: Arial;
 font-weight: 700;
 font-size: 40px;
 text-align: center;
 color: #9D0D16;
 text-shadow: 0px 5px 5px rgba(0,0,0,0.3);
}

.logo_slider { 
 float: left; 
 width: 550px; 
 height: 260px;
 margin-top: 10px;
 background: rgb(255, 255, 255);
}

.g-recaptcha { 
 width: 302px; 
 height: 77px; 
 margin: auto; 
 border: 1px solid rgb(170,170,170);
}

.font_first { 
 font-family: Monaco, monospace;
 font-weight: 700;
 font-size: 48px;
 color: rgb(11, 11, 97);
 text-shadow: 0px 5px 5px rgba(0,0,0,0.3);
}

.font_firstU { 
 font-family: Monaco, monospace;
 font-weight: 900;
 font-size: 48px;
 color: rgb(0, 0, 0);
 text-shadow: 0px 5px 5px rgba(0,0,0,0.3);
}

.font_last { 
 font-family: Monaco, monospace;
 font-weight: 700;
 font-size: 48px;
 color: rgb(255, 7, 7);
 text-shadow: 0px 3px 3px rgba(0,0,0,0.3);
}

.font_lastU { 
 font-family: Monaco, monospace;
 font-weight: 900;
 font-size: 48px;
 color: rgb(0, 0, 0);
 text-shadow: 0px 3px 3px rgba(0,0,0,0.3);
}

.font_first2 { 
 font-family: Monaco, monospace;
 font-weight: 700;
 font-size: 64px;
 color: rgb(11, 11, 97);
 text-shadow: 0px 5px 5px rgba(0,0,0,0.3);
}

.font_firstU2 { 
 font-family: Monaco, monospace;
 font-weight: 900;
 font-size: 72px;
 color: rgb(0, 0, 0);
 text-shadow: 0px 5px 5px rgba(0,0,0,0.3);
}

.font_last2 { 
 font-family: Monaco, monospace;
 font-weight: 700;
 font-size: 32px;
 line-height: 48px;
 color: rgb(255, 7, 7);
 text-shadow: 0px 3px 3px rgba(0,0,0,0.3);
}

.font_lastU2 { 
 font-family: Monaco, monospace;
 font-weight: 900;
 font-size: 32px;
 line-height: 48px;
 color: rgb(0, 0, 0);
 text-shadow: 0px 3px 3px rgba(0,0,0,0.3);
}

td{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
}

th{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
}

.td_5{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 5%;
}

.td_10{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 10%;
}

.td_15{
 text-align: center;
 border: 1px solid rgb(11, 11, 97);	
 width: 15%;
}

.td_20{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 20%;
}

.td_25{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 25%;
}

.td_30{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 30%;
}

.td_35{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 35%;
}

.td_40{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 40%;
}

.td_45{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 45%;
}

.td_50{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 50%;
}

.td_60{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 60%;
}

.td_70{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 70%;
}
 
.td_80{
 text-align: center;	
 border: 1px solid rgb(11, 11, 97);	
 width: 80%;
}

.navi_page { 
 font-family: Arial, serif;
 font-size: 16px;
 line-height: 38px;
 color: rgb(70, 70, 70);
 display: inline-block;
}

.num_normal { 
 width: auto;
 min-width: 38px;
 height: 38px;
 display: block;
 background-color: rgb(255, 255, 255);
 border: 1px solid rgb(70, 70, 70);
 border-radius: 21px;
 padding: 2px;
 margin: 1px;
 float: left;
 cursor: pointer;
}

.num_select { 
 width: auto;
 min-width: 38px;
 height: 38px;
 display: block;
 background-color: rgb(200, 200, 200);
 border: 1px solid rgb(70, 70, 70);
 border-radius: 21px;
 padding: 2px;
 margin: 1px;
 float: left;
 cursor: pointer;
}

.login_apply { 
 font-size: 18px; 
 font-weight: bold; 
 width: 200px; 
 height: 40px;
 color: white;
 background-color: rgb(11, 11, 97);
}

.menu_apply { 
 position: relative; 
 display: block;
 font-family: Arial, serif;
 padding: 10px 5px;
 margin: 0px auto; 
 font-size: 18px; 
 font-weight: bold; 
 width: 200px; 
 height: auto;
 color: white;
 text-align: center;
 text-decoration: none; 
 background-color: rgb(11, 11, 97);
 border: 2px outset;
 cursor: pointer;
}

.order_table { 
 font-family: Arial, serif;
 font-size: 18px;
 color: black;
 width: 100%;
 margin: auto;
 text-align: center;
 border: 2px solid rgb(70, 70, 70);
 border-collapse: collapse;
}

.order_header { 
 background: rgb(200, 200, 200);
 border: 2px solid rgb(70, 70, 70);
}

.order_row { 
  background: rgb(255, 255, 255);
  border: 1px solid rgb(70, 70, 70);
}

.line_block { 
  background: rgb(255, 255, 255);
  width: 200px;
  height: 20px;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  overflow: hidden;
}

.line_bar { 
  height: 20px;
  display: block;
}

.admin_apply { 
 position: relative; 
 display: block;
 font-family: Arial, serif;
 padding: 10px;
 width: 500px;
 margin: auto;
 color: white;
 text-align: center;
 background-color: rgb(11, 11, 97);
 text-decoration: none;
 border: 2px outset;
 font-size: 24px;
}

.admin_apply > a, .admin_apply > a:hover, .admin_apply > a:active, .admin_apply > a:visited { 
 color: inherit;
 text-decoration: none;
}
 
ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul:after {
    display: block;
    content: ' ';
    clear: both;
    float: none;
}
ul.page_menu {
	display: flex;
}
	
ul.page_menu > li {
	flex-grow: 1;
    position: relative;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

ul.page_menu > li > a {
    display: block;
	font-family: Arial, serif;
    padding: 10px;
    color: white;
    text-align: center;
    background-color: rgb(11, 11, 97);
    text-decoration: none;
	font-size: 24px;
	font-weight: bold;	
}

ul.page_menu > li > a.page_selected {
    background-color: rgb(157, 13, 22);
}

ul.page_menu > li > a:hover {
    background-color: rgb(255, 7, 7);
}

ul.page_submenu {
    display: none;
    position: absolute;
	min-width: 100%;	
	box-sizing: border-box;
    top: 48px;
    left: 0px;
	font-family: Arial, serif;
    background-color: white;
    border: 1px solid rgb(11, 11, 97);
    text-decoration: none;
	font-size: 24px;
	z-index: 3;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

ul.page_submenu > li {
    display: block;
}

ul.page_submenu > li > a {
    display: block;
    padding: 10px;
    color: white;
    background-color: rgb(11, 11, 97);
    text-decoration: none;	
}

ul.page_submenu > li > a.page_selected {
    background-color: rgb(157, 13, 22);
}

ul.page_submenu > li > a:hover {
    background-color: rgb(255, 7, 7);
}

ul.page_menu > li:hover > ul.page_submenu {
    display: block;
}

.login_box {
    float: left;
    position: relative;
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
    display: block;
	font-family: Arial, serif;
    padding: 10px;
	width: 220px;
    text-align: center;
    text-decoration: none;
	font-size: 20px;
	background-color: rgb(240, 240, 240);
	margin: 0px 0px 10px 0px;
}

ul.footer > li.w1 {
    float: left;
    position: relative;
    display: block;
    padding: 10px;
	width: 250px;
	height: 50px;
    color: white;
    text-align: center;
    background-color: rgb(11, 11, 97);
    text-decoration: none;
	font-size: 14px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

ul.footer > li.w2 {
    float: left;
    position: relative;
    display: block;
    padding: 10px;
	width: 300px;
	height: 50px;
    color: white;
    text-align: center;
    background-color: rgb(11, 11, 97);
    text-decoration: none;
	font-size: 14px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

ul.footer > li.w3 {
    float: left;
    position: relative;
    display: block;
    padding: 10px;
	width: 350px;
	height: 50px;
    color: white;
    text-align: center;
    background-color: rgb(11, 11, 97);
    text-decoration: none;
	font-size: 14px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

ul.footer > li.w4 {
    float: left;
    position: relative;
    display: block;
    padding: 5px 10px 5px 10px;
	width: 130px;
	height: 60px;
    color: white;
    text-align: center;
    background-color: rgb(11, 11, 97);
    text-decoration: none;
	font-size: 14px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

ul.footer > li.w5 {
    float: left;
    position: relative;
    display: block;
    padding: 10px;
	width: 50px;
	height: 50px;
    color: white;
    text-align: center;
    background-color: rgb(11, 11, 97);
    text-decoration: none;
	font-size: 14px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.login_apply { 
 font-size: 18px; 
 font-weight: bold; 
 width: 200px; 
 height: 40px;
 color: white;
 background-color: rgb(11, 11, 97);
}

.login_block { 
 width: 790px; 
 height: auto;
 min-height: 40px;
 margin: 0px 10px 0px 10px;
 padding: 10px 50px 10px 50px;
 background-color: rgb(255, 255, 255);
 box-shadow: 0 0 3px rgba(0,0,0,0.5);
 display: block;
 font-family: Arial, serif;
 text-align: left;
 text-decoration: none;
 font-size: 20px;
}

.login_area { 
 width: 910px; 
 height: auto;
 min-height: 40px;
 margin: 0px 0px 10px 0px;
 padding: 10px;
 background-color: rgb(240, 240, 240);
 box-shadow: 0 0 3px rgba(0,0,0,0.5);
 display: block;
 font-family: Arial, serif;
 text-align: center;
 text-decoration: none;
 font-size: 20px;
}

.login_label { 
  font-family: Arial, serif;
  font-weight: bold;
  font-size: 14px;
}

.login_text { 
  width: 250px; 
  height: 25px; 
  font-size: 14px;
}

.login_str { 
 width: 640px; 
 height: auto;
 min-height:20px;
 margin: auto;
}

.login_main { 
 width: 220px; 
 height: auto;
 min-height:20px;
}

.login_left { 
 float: left; 
 width: 250px; 
 padding: 0px 10px;	
 height: 50px;
 text-align: right;
}

.login_right { 
 float: right; 
 width: 250px; 
 padding: 0px 10px;	
 height: auto;
 min-height:40px;
}

.login_button { 
 font-size: 18px; 
 font-weight: bold; 
 width: 250px;
 height: 50px; 
 color: white; 
 background: rgb(11, 11, 97);
}

.login_select { 
 width: 605px; 
 font-family: Arial, serif;
 font-size: 20px;
 color: black;
 height: 35px;
 text-align: center;
}

.add_select { 
 float: right; 
 width: 45px; 
 font-family: Arial, serif;
 font-size: 24px;
 color: black;
 height: 45px;
 text-align: center;
}

.setting_center {
	width: 900px;
	height: auto;
	min-height: 50px;
	background: rgb(255, 255, 255);
	margin: 20px 0px 20px 0px;
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
	border-radius: 10px;
}

.setting_main {
	width: 800px;
	height: 50px;
	float: left;
	line-height: 50px;
	font-size: 22px;
	font-weight: bold;
	margin: 10px 10px 10px 10px;
}	

.setting_add_button {
	width: 50px;
	height: 50px;
	float: right;
	margin: 10px 10px 10px 10px;
}

.setting_button_add { 
 font-size: 20px; 
 line-height: 30px;
 width: 30px; 
 height: 30px;
 display: block;
 color: black;
 background-color: rgb(200, 200, 200);
 border: 1px solid rgb(11, 11, 97);
 margin: 10px 10px 10px 10px;
 cursor: pointer;
}

.setting_add_data {
	width: 850px;
	height: auto;
	min-height: 30px;
	margin: 10px 10px 10px 10px;
}		

.setting_left { 
 width: 350px; 
 height: auto;
 min-height: 40px;
 text-align: right;
 float: left;
}

.setting_right { 
 width: 490px; 
 height: auto;
 min-height: 40px;
 text-align: left;
 float: right;
}

.setting_label {
	font-size: 20px; 
	font-weight: bold;
}	

.setting_value {
	font-size: 20px; 
	color: #0b0b61;
}

.setting_input { 
 width: 480px; 
 font-family: Arial, serif;
 font-size: 20px;
 color: black;
 height: 30px;
 border: 1px solid gray;
 text-align: center;
}

.setting_textarea { 
 width: 480px; 
 font-family: Arial, serif;
 font-size: 20px;
 color: black;
 height: 200px;
 border: 1px solid gray;
 text-align: left;
 overflow-x: hidden;
 overflow-y: auto;
 resize: none;
}

.block_name { 
 font-size: 24px; 
 font-weight: bold; 
 text-align: center;
}

.block_info { 
 font-size: 20px; 
 font-weight: bold; 
 text-align: center;
}

.block_finance { 
 font-size: 20px; 
 text-align: left;
}

.block_detail { 
 font-size: 20px; 
 text-align: center;
}

.block_small { 
 font-size: 18px; 
 text-align: center;
}

.block_address { 
 font-size: 20px; 
 font-weight: bold; 
 text-align: left;
}

.block_img { 
 float: left; 
 width: 200px; 
 height: auto;
 padding: 10px;
}

.block_line{ 
 line-height: 30px;
}

.block_text { 
 float: right; 
 width: 530px; 
 height: auto;
 padding: 10px;
 font-size: 18px;
 text-align: justify;
}

.block_descr { 
 float: right; 
 width: 300px; 
 height: auto;
 padding: 10px;
 font-size: 18px;
 text-align: justify;
}

.block_price { 
 float: right; 
 width: 200px; 
 height: auto;
 padding: 10px;
 font-size: 18px;
 text-align: justify;
}

.block_input { 
 position: relative; 
 width: 520px; 
 font-family: Arial, serif;
 font-size: 20px;
 color: black;
 height: auto;
 text-align: center;
}

.line_textarea { 
 width: 850px; 
 height: 200px; 
 font-family: Arial, serif;
 font-size: 20px;
 color: black;
 resize: none;
}

.load_realfileinput{
	width: 0px;
	height: 0px;
	visibility: hidden;
	opacity: 0;
	filter: alpha(opacity=0);
	padding: 0px;
	margin: 0px;
	position: absolute;
}

.load_button{
	color: white;
	background: rgb(11, 11, 97);
	width: 300px;
	height: 45px;
	font-size: 18px;
	float: right;
}

.load_textarea{
	padding-left: 5px;
	width: 520px;
	height: 40px;
	font-size: 16px;
	float: left;
}

.local_uploadfile{
	padding: 5px;
	width: 840px;
	font-size: 16px;
	resize: none;
	display: none;
} 

.task_div{
	padding: 20px; 
	margin: 20px; 
	background: rgb(230,230,230); 
	border: 2px solid rgb(11,11,97); 
	border-radius: 38px;
} 

.task_div:before{
	display: inline-block;
    vertical-align: middle;
    content: "";
} 

.task_text{
	width: 660px;
	line-height: 32px;
	display: inline-block;
    vertical-align: middle;
}	

.task_img{
	width: 32px;
	height: 32px;
	display: inline-block;
    vertical-align: middle;
}	

.page_div{
	padding: 20px; 
	margin: 20px; 
	font-size: 24 px;
	font-weight: bold;
	background: rgb(255,255,255); 
	border: 2px solid rgb(11,11,97); 
	border-radius: 38px;
} 

.test_body:before{
	display: inline-block;
    height: 100%;	
    vertical-align: middle;
    content: "";
} 

.test_question{
	padding: 20px; 
	width: 740px;
	min-height: 100px;
	display: inline-block;
    vertical-align: middle;
	font-size: 24px;
	border: 2px solid rgb(128,128,128); 	
}	

.test_answer{
	padding: 20px; 
	width: 640px;
	min-height: 100px;
	display: inline-block;
    vertical-align: middle;
	font-size: 24px;
	border: 2px solid rgb(128,128,128); 	
}	

.test_img{
	width: 85px;
	height: 100px;
	margin-right: 4px;	
	display: inline-block;
    vertical-align: middle;
}	

.history_negative{
	width: 600px;
	height: auto;	
	float: right;
	font-family: Arial, serif;
	font-size: 20px;
	text-align: justify;
	background:#FFCCCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.history_positive{
	width: 600px;
	height: auto;	
	float: right;
	font-family: Arial, serif;
	font-size: 20px;
	text-align: justify;
	background:#CCFFCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.history_answer{
	width: 600px;
	height: auto;	
	float: left;
	font-family: Arial, serif;
	font-size: 20px;
	text-align: justify;
	background:#FFFFCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.history_mess{
	width: 600px;
	height: auto;	
	float: right;
	font-family: Arial, serif;
	font-size: 20px;
	text-align: justify;
	background:#FFFFFF;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.history_notabene{
	width: 600px;
	height: auto;	
	font-family: Arial, serif;
	font-size: 16px;
	text-align: center;
	background:#FFFFCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 10px;
	margin: 10px auto;
}

.history_date{
	font-family: Arial, serif;
	font-size: 12px;
	text-align: right;
}

.tabs_li, .tabs_active {
	position: relative;
    flex-grow: 1;
}

.tabs_li {
    margin: 0px;
	font-family: Arial, serif;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
    background: rgb(240, 240, 240);
    color: rgb(80, 80, 80);
}

.tabs_li > a:hover{
    background: rgb(157, 13, 22);
	color: rgb(255, 255, 255);
}

.tabs_active {
    margin: 0px;
	font-family: Arial, serif;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
    background: rgb(11, 11, 97);
    color: rgb(255, 255, 255);
}

.tabs_li > a, .tabs_active > a{
	display: block;
    padding: 10px 15px;
}

.tabs_my {
    display: flex;
}

.tabs_ul {
    content: "";
    display: block;
    clear: both;
	margin-bottom: 10px;
    height: 5px;
    background: rgb(11, 11, 97);
}

.comment_div{
	width: 700px;
	height: auto;	
	font-family: Arial, serif;
	font-size: 20px;
	text-align: justify;
	background:#FFFFFF;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.comment_answer{
	width: 700px;
	margin-left: 50px;
	height: auto;	
	font-family: Arial, serif;
	font-size: 20px;
	text-align: justify;
	background:#CCFFCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.comment_danger{
	width: 750px;
	height: auto;	
	font-family: Arial, serif;
	font-size: 20px;
	text-align: justify;
	background:#FFCCCC;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 10px;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.comment_quote{
	width: 650px;
	height: auto;	
	font-family: Arial, serif;
	font-size: 14px;
	text-align: justify;
	border-radius: 5px;
	border: 1px solid gray;		
	padding: 10px;
	margin: 10px;
}

.comment_date{
	font-family: Arial, serif;
	font-size: 14px;
	float: right;
}

.comment_user{
	font-family: Arial, serif;
	font-size: 14px;
	float: left;
}

.view_title{ 
 width: 100%;
 text-align: center;
 font-weight: bold;
}

.view_rule{ 
 width: 100%;
 text-align: justify;
}

.register_title { 
 text-align: center;
 font-family: Arial, serif;
 font-size: 24px; 
 font-weight: bold; 
}

.view_limit {
    width:550px;
	height: auto;
	margin: 0px auto;
    color: #000;
    font-size: 18px;
    padding: 10px;
    text-align: center;
    text-shadow: none;
}

.org_button { 
 position: relative; 
 display: block;
 font-family: Arial, serif;
 padding: 10px;
 margin: auto;
 color: white;
 text-align: center;
 background-color: rgb(11, 11, 97);
 text-decoration: none;
 font-size: 24px;
 width: 60px; 
 height: 60px; 
 line-height: 60px; 
 float: left;
}

.org_current { 
 position: relative; 
 display: block;
 font-family: Arial, serif;
 margin: auto;
 color: black;
 background-color: white;
 text-decoration: none;
 font-size: 24px;
 font-weight: bold;
 width: 220px; 
 height: 50px; 
 line-height: 25px; 
 padding: 10px; 
 text-align: center; 
 border: 5px solid rgb(11, 11, 97); 
 float: left;
}

#tooltip {
	background: #ffff80;
    max-width:450px;
    border-radius: 3px;
    box-shadow: 0 0 3px #000;
    color: #000;
    display: none;
    font-size: 20px;
    padding: 3px 8px;
    position: absolute;
    text-align: left;
    text-shadow: none;
    z-index: 9999;
}

.rep_filter_parent { 
 width: 880px; 
 height: auto;
 background: rgb(255, 255, 255);
 padding: 10px;	
 border: 2px solid rgb(11, 11, 97);
 border-radius: 30px;
 text-align: center; 
}

.rep_filter_child { 
 float: left;
 width: 200px; 
 height:auto;
 background: rgb(255, 255, 255);
 margin: 10px;	
}

.rep_filter_button { 
 display: block;
 float: left;
 padding: 10px;
 width: 200px;
 height: 150px;
 color: white;
 text-align: center;
 font-family: Arial, serif;
 font-weight: bold;
 font-size: 24px;
 text-decoration: none;
 border: 3px outset white;
 background-color: rgb(11, 11, 97);
 margin: auto;
 margin-top: 70px;
}

.rep_filter_font { 
 font-family: Arial, serif;
 font-size: 24px;
 font-weight: bold;
}

.rep_filter_label { 
 font-family: Arial, serif;
 font-size: 18px;
}

.rep_filter_select { 
 width: 200px; 
 font-family: Arial, serif;
 font-size: 18px;
 color: black;
 text-align: left;
}

.rep_filter_input { 
 position: relative; 
 width: 200px; 
 font-family: Arial, serif;
 font-size: 18px;
 color: black;
 height: 24px;
 text-align: center;
}

.slider___block {
	position: relative;
	background-color: rgb(255, 255, 255);
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
	display: block;
	padding-top: 0px;
	margin: 10px;
	width: 180px;
    height: 180px;
    justify-content: center;
    align-items: center;
}

.slider__block {
	position: relative;
	background-color: rgb(255, 255, 255);
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
	display: block;
	padding-top: 0px;
	margin: 10px;
	width: 250px;
    height: 340px;
    justify-content: center;
    align-items: center;
}

.slider_block {
	position: relative;
	background-color: rgb(255, 255, 255);
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
	display: block;
	padding: 10px 50px 10px 50px;
	margin: 10px;
	width: 690px;
    height: 280px;
    align-items: left;
	text-align: left;
}

.slider_body {
	width: 100%; 
	height: 200px; 
	overflow: hidden; 
	text-overflow: ellipsis;
}	

.fs-wrap{
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 360px;
  background: #000;
  overflow: hidden;
  border-radius: 14px;
}

.fs-frame{
  width: 100%;
  height: 100%;
  border: 0;
}

/* Псевдо-fullscreen (универсальный fallback) */
.fs-wrap.is-pseudo{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh; /* лучше для мобилок */
  height: 100vh;  /* fallback */
  z-index: 999999;
  border-radius: 0;
  background: #000;
}

/* Safe-area (iPhone notch) */
.fs-wrap.is-pseudo{
  padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
}

.fs-wrap.is-pseudo .fs-btn{
  right: calc(12px + env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
}

.daily-unavailable{
  width: 100%;
  height: 100%;
  min-height: 420px;              
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #eef2f5;            
}

.daily-unavailable__card{
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid #d9e2ea;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);

  padding: 18px 22px;
  text-align: center;
}

.daily-unavailable__title{
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #d93025;                 
}

.daily-unavailable__text{
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #3c4043;
}

#daily-unavailable__text.is-urgent{
  color: #d93025;
  font-weight: 700;
}

.monitor-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 22px;

  font-size: 14px;
  font-weight: 600;

  color: #e8f6ff;
  background: linear-gradient(180deg,#16232c,#0c141a);

  border: 1px solid #2a4454;
  border-radius: 6px;

  cursor: pointer;

  transition: all .2s ease;

  box-shadow:
    inset 0 0 6px rgba(0,0,0,.7),
    0 0 8px rgba(0,150,255,.15);
}

.monitor-btn:hover {
  background: linear-gradient(180deg,#1b2f3a,#0f1a21);
}

.monitor-btn.active {
  border-color: #00cfff;

  box-shadow:
    0 0 14px rgba(0,200,255,.7),
    inset 0 0 8px rgba(0,0,0,.8);
}

.monitor-btn.muted {
  color: #9aa8b3;
  border-color: #3a4a54;
  box-shadow: none;
}

.monitor-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

canvas { display: block; width: 100%; background: #060b11; border-radius: 8px; }
.metric { position: absolute; top: 36px; right: 18px; text-align: right; }
.metric-label { display: block; color: var(--muted); font-size: 13px; }
.metric span { font-size: 64px; font-weight: 700; line-height: 1; }
.metric.big span { font-size: 76px; }
.metric small { font-size: 22px; margin-left: 4px; }
.hr { color: var(--green); }
.blue { color: var(--blue); }
.yellow { color: var(--yellow); }
.white { color: var(--white); }
.submetric, .bp-values, .temp-values { display: flex; justify-content: start; align-items: baseline; margin-top: 10px; }
.submetric span:first-child, .card-title, .tiny-note { color: var(--muted); }
.bp-values span, .temp-values span { font-size: 42px; font-weight: 700; color: var(--white);}
.nibp-status { margin-top: 10px; font-size: 14px; color: var(--muted); }
.tiny-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.alarm-state { font-size: 36px; font-weight: 700; margin-top: 10px; }
.alarm-on { color: var(--red); }
.alarm-off { color: var(--muted); }
.controller-wrap { width: min(1180px, calc(100% - 16px)); margin: 0 auto; }
.controller-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding: 14px 0 24px; }
.controller-label { display: block; color: var(--muted); font-size: 24px; }
.field-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.single-col { grid-template-columns: 1fr; }
.landing-page { display: grid; min-height: 100vh; place-items: center; }
.landing { width: min(980px, calc(100% - 32px)); }
.landing-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card, .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.monitor-header, .controller-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.session-badge { margin-left: 10px; color: var(--muted); }
.monitor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 12px; }
.wave-card, .metric-card, .numeric-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; position: relative; overflow: hidden; }
.ecg-card { grid-column: 1 / -1; }
.spo2-card, .capno-card { grid-column: span 2; }
.label-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); margin-bottom: 8px; font-size: 14px; }
.controller-sublabel { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.controller-input, .controller-select, .controller-button { font: inherit; }
.controller-input, .controller-select { background: #04090d; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.controller-button { border: 0; border-radius: 12px; padding: 11px 14px; font-weight: 600; background: #2e7dff; color: white; cursor: pointer; }
.secondary-btn { background: #263341; color: var(--white); font-size: 20px; }
.danger-btn { background: #a93434; font-size: 20px; }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.toggle { display: flex; grid-auto-flow: column; justify-content: start; align-items: center; gap: 10px; margin-top: 12px; }

.controller-input, select {
  font-size: 20px;
  height: 48px;
  max-width: 340px;
  padding: 10px 14px;
}

.controller-range {
  height: 28px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.controller-sublabel {
  display: flex;
  font-size: 24px;
  flex-direction: column;
  gap: 8px;
}

.controller-sublabel > span {
  font-size: 24px;
  font-weight: 600;
}

.controller-input {
  width: 100%;
  box-sizing: border-box;
}

.controller-range {
  width: 100%;
  margin: 0;
  accent-color: #00cfff;
  cursor: pointer;
}

.controller-input[readonly] {
  pointer-events: none;
  background: #1a232b;
  color: #e8f6ff;
}

.controller-input[readonly]::-webkit-outer-spin-button,
.controller-input[readonly]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.controller-input[readonly] {
  -moz-appearance: textfield;
}

.controller-input[readonly],
.controller-range:disabled {
  opacity: 0.75;
  cursor: default;
}

.controller-wrap {
  position: relative;
  z-index: 1;
}

.controller-wrap.is-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  box-sizing: border-box;
  overflow: auto;
  background: #020b14;
  z-index: 999999;
  border-radius: 0;
}

.controller-wrap.is-fullscreen .controller-grid {
  width: 100%;
}

.controller-fullscreen {
  overflow: hidden;
}

#alarmEnabled, #prLinked {
	max-width: 32px;
}	

#statusBox {
  height: 140px;
  overflow-y: auto;
  overflow-x: hidden;

  padding: 10px 12px;
  box-sizing: border-box;

  white-space: pre-wrap;
  word-break: break-word;

  background: #081016;
  border: 1px solid #20323d;
  border-radius: 6px;
  color: #b9d7e8;
}
@media (max-width: 960px) {
  .monitor-grid { grid-template-columns: 1fr; }
  .ecg-card { grid-column: auto; }
  .metric span { font-size: 56px; }
}