﻿@font-face {
	font-family: Gotha;
	src: url("font/GothaProReg.otf");
}

@font-face {
	font-family: VekaRegular;
	src: url("/fonts/CeraVEKA-Regular.woff2");
}

@font-face {
	font-family: VekaBold;
	src: url("/fonts/CeraVEKA-Bold.woff2");
}

@font-face {
	font-family: VekaLight;
	src: url("/fonts/CeraVEKA-Light.woff2");
}

@media screen and (max-width: 1215px) {
	html,body {
		font-family: VekaRegular;
		font-size: 14;
		background-attachment: fixed;
		/*background-image: url(/img/background_op.jpg);*/
		/*background-image: url(/img/new_bg_2019_2.jpg);*/
		/*background-image: url(/img/newyear.jpg);*/
		background-repeat: no-repeat;
		background-position: center top;
		background-size: cover;
		min-width: 375px;
	}

	header {
		max-width: 1400px;
	}

	header .login_info_block {
		position: absolute;
        right: 12px;
        top: 10px;
	}

	nav {
		max-width: 1400px
	}

	main {
		padding-top: 90px;
		display: flow;
	}

	main .content_in_main {
		font-size: 14px;
		padding-bottom: 20px;
	}

	button {
		font-family: VekaRegular;
		color: Black;
	}

	select {
		font-family: VekaRegular;
		color: Black;
	}

	input {
		font-family: VekaRegular;
	}

	.button_blue {
		transition: 200ms ease-out;
		padding: 0 16px;
		height: 47px;
		background-color: #0069B4;
		color: #FFFFFF;
		border: 0px;
		font-family: VekaRegular;
		cursor: pointer;
		text-transform: uppercase;
		min-width: 0px;
	}

	.button_blue:hover {
		background-color: #007aff;
	}

	.button_white {
		transition: 200ms ease-out;
		padding: 0 16px;
		height: 48px;
		border: 1px solid #EAEBEE;
		color: #0B1742;
		background-color: #FFFFFF;
		font-family: VekaRegular;
		cursor: pointer;
		text-transform: uppercase;
	}

	.button_white:hover {
		border: 1px Solid Gray;
	}

	.input_white {
		padding: 15px 38px 15px 16px;
		width: 100%;
		-webkit-transition: 200ms ease-out;
		transition: 200ms ease-out;
		text-overflow: ellipsis;
		background-color: #FFFFFF;
		border: 1px solid #C5C7CD;
	}

	.body_table {
		height: 100%;
		font-size: 14px;
		padding-bottom: 10px;
		width: 100%;
		margin: 0px;
	}

	.infoBlock {
		position: fixed;
		top: 6px;
		left: calc(100% / 2 - 300px);
		height: auto;
		line-height: 16px;
		width: auto;
		border: 1px Solid #d8d8d3;
		background-color: #fefefd;
		color: Black;
		font-size: 14px;
		z-index: 1000;
		opacity: 0.95;
		display: none;
	}

	.infoBlock #events {
		margin: 5px;
		padding: 3px;
		padding-left: 10px;
		float: left;
		width: 175px;
		border-right: 1px Dashed Silver;
		height: calc(100% - 10px);
	}

	.infoBlock #events:hover {
		background-image: -moz-linear-gradient(#80c100,  #4e7500);    
		background-image: -webkit-gradient(linear, left top, left bottom, from(#80c100), to(#4e7500));
		background-image: -webkit-linear-gradient(#80c100, #4e7500);
		background-image: -o-linear-gradient(#80c100, #4e7500);
		background-image: -ms-linear-gradient(#80c100, #4e7500);
		background-image: linear-gradient(#80c100, #4e7500);
		color: #fafafa;
		border-right: 1px Dashed Transparent;
		cursor: pointer;
	}

	.infoBlock #request:hover {
		background-image: -moz-linear-gradient(#80c100,  #4e7500);    
		background-image: -webkit-gradient(linear, left top, left bottom, from(#80c100), to(#4e7500));
		background-image: -webkit-linear-gradient(#80c100, #4e7500);
		background-image: -o-linear-gradient(#80c100, #4e7500);
		background-image: -ms-linear-gradient(#80c100, #4e7500);
		background-image: linear-gradient(#80c100, #4e7500);
		color: #fafafa;
		border-right: 1px Dashed Transparent;
		cursor: pointer;
	}

	.infoBlock #message:hover {
		background-image: -moz-linear-gradient(#80c100,  #4e7500);    
		background-image: -webkit-gradient(linear, left top, left bottom, from(#80c100), to(#4e7500));
		background-image: -webkit-linear-gradient(#80c100, #4e7500);
		background-image: -o-linear-gradient(#80c100, #4e7500);
		background-image: -ms-linear-gradient(#80c100, #4e7500);
		background-image: linear-gradient(#80c100, #4e7500);
		color: #fafafa;
		border-right: 1px Dashed Transparent;
		cursor: pointer;
	}

	.infoBlock #request {
		margin: 5px;
		padding: 3px;
		padding-left: 5px;
		float: left;
		width: 210px;
		border-right: 1px Dashed Silver;
		height: calc(100% - 10px);
	}

	.infoBlock #message {
		margin: 5px;
		padding: 3px;
		padding-left: 5px;
		float: left;
		width: 140px;
		height: 48px;
	}

	.infoBlock a {
		color: #393185;
	}

	.info_switch_user {
		position: fixed;
		cursor: pointer;
		width: 239px;
		background: #ffe4e4;
		/* opacity: 0.85; */
		border: 1px Solid #d1d1d1;
		padding: 4px;
		padding-left: 7px;
		z-index: 10000;
		left: calc(100% / 2 + 294px);
		top: 6px;
		height: 56px;
	}

	.newyearimg
	{
		margin-left: 90px;
		position: fixed;
		width: 50px;
		height: 88px;
		background-image: url(/img/newyearbol.png);
	}

	.social
	{
		position: absolute;
		left: calc(100% / 2 + 535px);
		top: 55px;
		padding: 7px;
		background-color: #f6f6f6;
		opacity: 0.90;
		display: none;
	}

	.social img {
		height: 20px;
		margin: 0px;
		margin: 1px;
	}

	a {
		font-family: VekaRegular;
		font-size: 13px;
		color: #0f4a97;
		font-style: normal;
		text-decoration: none;
	}

	a:hover {
		font-family: VekaRegular;
		font-size: 13px;
		text-decoration: underline;
	}

	.info {
		color: Black;
		font-family: VekaRegular;
		font-size: 11;
	}

	.table {
		font-family: VekaRegular;
		font-size: 13px;
		color: #787878;
		border-left: 1 solid #D3D3D3;
		border-right: 1 solid #D3D3D3;
	}

	.block {
		background-color: White;
		border: 0px solid #D3D3D3;
		font-family: VekaRegular;
		font-size: 13px;
		color: Black;
	}
	.table_c {
		font-family: VekaRegular;
		font-size: 13px;
		font-style: normal;
		margin: 0;
		border: 0;
	}
	
	.input {
		background-color: White;
		border: 1px solid #D3D3D3;
		padding: 5;
		font-family: VekaRegular;
		font-size: 13;
		margin: 3;
		color: Black;
	}

	.input_full_width {
		background-color: White;
		border: 1px solid #D3D3D3;
		padding: 5;
		font-family: VekaRegular;
		font-size: 13;
		margin: 3;
		color: Black;
		width: calc(100% - 3px);
	}

	.form_button {
		background-color: White;
		padding: 5;
		font-family: VekaRegular;
		font-size: 11;
		margin: 2px;
		border: 1px solid Silver;
		color: Black;
	}
	.form_button:hover {
		background: #393185;
		color: White;
	}
	.form_button_red {
		background-color: Red;
		border: 1px solid #393185;
		padding: 5;
		font-family: VekaRegular;
		font-size: 11;
		color: White;
	}
	.form_button_red:hover {
		background: #4ea604;
		color: White;
	}
	.top_button
	{
		background-color: White;
		border: 1px solid #D3D3D3;
		padding: 5;
		font-family: VekaRegular;
		font-size: 14;
	}
	.top_button:hover {
		background-color: Silver;
		color: White;
	}
	.top_button_info
	{
		background-color: #393185;
		border: 1px solid #393185;
		padding: 3;
		font-family: VekaRegular;
		font-size: 11;
		color: White;
	}

	.menu_button_info
	{
		background-color: #393185;
		border: 1px solid #393185;
		padding: 2;
		font-family: VekaRegular;
		font-size: 11;
		color: White;
		margin-right: -3px;
	}

	.top_button_login
	{
		background-color: White;
		border: 1px solid Silver;
		padding: 3;
		font-family: VekaRegular;
		font-size: 11;
		color: Black;
	}
	.top_button_login:hover
	{
		background-color: #393185;
		color: White;
	}
	.small_button
	{
		background-color: White;
		border: 1px solid Silver;
		padding: 3;
		font-family: VekaRegular;
		font-size: 13;
		margin: 5 0 0 -10;
		padding: 5px;
		color: Black;
	}
	.small_button:hover
	{
		background-color: #393185;
		color: White;
	}
	.head
	{
		color: #174f99;
		font-family: VekaRegular;
		text-decoration: none;
		margin-left: 10;
	}
	.head_green
	{
		color: #4ea604;
		font-family: VekaRegular;
		text-decoration: none;
		margin-left: 10;
	}
	.head_red
	{
		color: Red;
		font-family: VekaRegular;
		text-decoration: none;
		margin-left: 10;
	}
	hr {
		color: Silver; 
		border: none;
		height: 1px;
		clear: both;
		background-color: Silver;
	}
	.row_from_table {
		background: White;
		color: Black;
		font-family: VekaRegular;
		font-size: 14;
		margin-bottom: 0;
		margin-left: 0;
		margin-right: 0;
		margin-top: 0;
		border-bottom: 1px solid Silver;
	}
	.row_from_table:hover {
		background: Silver;
		color: White;
	}
	.row_from_table2 {
		background: White;
		color: Black;
		font-family: VekaRegular;
		font-size: 14;
		margin-bottom: 0;
		margin-left: 0;
		margin-right: 0;
		margin-top: 0;
		border-bottom: 1px solid Black;
	}
	.row_from_table2:hover {
		background: #D7EEF2;
		color: Black;
	}
	.info_small_blue
	{
		background-color: #4ea604;
		border: 0px solid #393185;
		padding: 2;
		font-family: VekaRegular;
		font-size: 11;
		color: White;
	}
	.info_small_green
	{
		background-color: #393185;
		border: 0px solid #393185;
		padding: 2;
		font-family: VekaRegular;
		font-size: 11;
		color: White;
	}
	.info_small_red
	{
		background-color: #f96f6f;
		border: 0px solid #393185;
		padding: 3;
		font-family: VekaRegular;
		font-size: 11;
		color: White;
	}
	.info_small_orange
	{
		background-color: #FF4500;
		border: 0px solid #393185;
		padding: 2;
		font-family: VekaRegular;
		font-size: 11;
		color: White;
	}
	.info_small_silver
	{
		background-color: #DEDEDE;
		border: 0px solid #393185;
		padding: 2;
		font-family: VekaRegular;
		font-size: 11;
		color: Black;
	}
	.table_opacity {
	background: url(img/background_opacity.png);
	}
	.info_top
	{
		background-color: #FF4848;
		border: 0px solid #393185;
		padding: 2;
		font-family: VekaRegular;
		font-size: 14;
		color: White;
	}
	.imageRadius
	{
		border: 0;
		border: 1px solid Silver;
	}
	.opacity {
		opacity:0.90;
		filter:alpha(opacity=90);
		-moz-opacity:0.90;
	}
	#fixed-block {
		position: fixed;
		left: 30%;
		top: -10px;
		padding: 2em 15em 2em 15em;
		font-size: 14;
		color: White;
		background-color: #FF4500;
		opacity: 0.95;
		filter: alpha(opacity=95);
		-moz-opacity: 0.95;
		border: 0;
		
	}
	* html {
		background: fixed url('about:blank');
	}

	* html #fixed-block {
		position: absolute;
		/*top: expression(eval(document.documentElement.scrollTop) + 0 + 'px');*/
	}

	/* =============================Buttons=========================*/
	.button_classic {
		border: 0px Solid Silver;
		padding: 10px;
		cursor: pointer;
		margin: 3px;
		width: 170px;
		background-color: #e8f1fc;
	}

	.button_classic:hover {
		background-color: #d5e8ff;
	}

	/* =========================================Меню=================================== */
	#mainmenu{
		position: relative;
        margin: 0px;
        padding: 0;
        padding-right: 15px;
        /* margin-right: 15px; */
        width: calc(100% - 15px);
        overflow-y: auto;
	}

	#mainmenu .li_counter {
		position: relative;
        background-color: #28a6ff;
        padding: 3px;
        padding-left: 10px;
        padding-right: 10px;
        color: white;
        margin-right: 0px;
        top: 0px;
		display: none;
	}

	.submenu_color {
		color: #207bbc;
	}

	#mainmenu:hover {
		z-index:10; /* для отображения подпунктов поверх остальных блоков */
	}

	#mainmenu ul, /* сбрасываем поля и отступы у списков */
	#mainmenu ul ul {
		list-style:none;
		padding:0;
		margin:0;
	}
	#mainmenu ul {    
		height: calc(100% - 30px);
		text-transform:uppercase;    
		width: 100%;
	}
	#mainmenu ul li {
		position: relative;
		height: auto;
		padding: 0;
		margin: 0;
		float: none;
	}
	#mainmenu ul li:last-child {
		border:none;
		box-shadow:none
	}    
	#mainmenu ul li a {
		display:block;
		text-decoration: none;
		padding: 13px 22px;
		border-bottom: 1px Solid #ededed;
		font-size: 16px;
	}
	#mainmenu ul li a:hover {
	}
	#mainmenu ul li:hover > ul {
		opacity: 1;
		visibility: visible;
		margin: 0;
	}
	
	/*************************** Выпадающие подпункты */
	#mainmenu ul li ul {
		text-transform:none;
		opacity: 1;
		visibility: visible;
		position: relative;
		left: 0;
		top: 0px;
		font-size: 16px;
		height:auto;
		width: calc(100% - 30px);
		border: 0px;  
		text-transform: uppercase; 
	}

	#mainmenu ul li ul li {
		border: none;
		position:relative;
		left: 50px;
		float:none;
		height:auto;
		margin:0;
		text-align:left !important;
		width: calc(100% - 20px);
		border-bottom: 1px Solid #ededed;
	}
	#mainmenu ul li ul li:last-child {
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	#mainmenu ul li ul li a {
		padding:10px 8px;
		border:none
	}
	
	/*************************** Выпадающие пункты второго уровня */
	#mainmenu ul li ul li ul {
		top: 0;
		left: -50px;
		margin: 0 0 0 20px;
		_margin: 0; /*IE6 only*/
		box-shadow: -1px 0 0 rgba(255,255,255,.3);
		-moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
		-o-box-shadow: -1px 0 0 rgba(255,255,255,.3);
		-ms-box-shadow: -1px 0 0 rgba(255,255,255,.3);
		-webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);    
	}
	
	/*********************** Стрелочки на подпунктах */
	

	/*Catalogs*/
	#catalog
	{
		margin-left: 10;
		margin-top: -1;
		background-color: White;
		border: 1px Solid #569de5;
		text-align: left;
		padding: 5;
		position: relative;
	}

	#catalog:hover
	{
		background-color: #393185;
		color: White;
	}

	#catalogButton 
	{
		position: absolute;
		top: 0;
		right: 0;
		width: 100px;
	}

	#catalogSub
	{
		margin-left: 25;
		margin-top: -1;
		background-color: White;
		border: 1px Solid #569de5;
		text-align: left;
		padding: 5;
	}

	#catalogSub:hover
	{
		background-color: #393185;
		color: White;
		text-decoration: none;
	}

	details {
	padding: 5px;
	cursor: pointer;
	color: #393185;
	}
	summary::-webkit-details-marker {
	display: none
	}
	summary:after { 
	content: ""; 
	cursor: pointer;
	padding: 10px;
	color: #393185; 
	font-weight: bold; 
	}
	details[open] summary:after {
	content: "";
	cursor: pointer;
	}
	.multiselect {
		width: 200px;
	}
	.selectBox {
		position: relative;
	}
	.selectBox select {
		width: 100%;
		font-weight: bold;
	}
	.overSelect {
		position: absolute;
		left: 0; right: 0; top: 0; bottom: 0;
	}

	.head_line_lightblue {
		background-color: #e8f1fc;
		padding: 7px;
	}

	.head_line_lightsilver {
		background-color: #f5f5f5;
		padding: 7px;
	}


	.input_in_head_line {
		padding: 3px;
		border: 1px Solid Silver;
	}

	#checkboxes_bg {
		position: absolute;
		left: 0px;
		top: 0px;
		display: none;
		width: 100%;
		height: 100%;
		opacity: 0.5;
		background-color: White;
		z-index: 900;
	}

	#checkboxes {
		display: none;
		border: 1px #dadada solid;
		position: absolute;
		background-color: White;
		width: 200px;
		max-height: 500px;
		overflow-x: auto;
		z-index: 1000;
	}
	#checkboxes label {
		display: block;
	}
	#checkboxes label:hover {
		background-color: #1e90ff;
		color: White;
	}

	.main_block {
		background-color: #fbfbfb; 
		padding-top: 20px; 
		padding-bottom: 20px;
		border-left: 1px Solid Silver; 
		border-right: 1px Solid Silver; 
		border-top: 1px Solid Silver; 
		opacity: 0.96;
	}

	.user_action_buttons {
		
	}

	.user_action_buttons button {
		display: flex;
	}

	.fblock_dialogForm {
		position: fixed;
		left: 0px;
		right: 0px;
		top: 0px;
		bottom: 0px;
		background-color: White;
		opacity: 0.95;
		z-index: 2000;
		display: none;
	}

	.dialogForm {
		position: fixed;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: calc(100% - 10px);
		max-width: 450px;
		border: 1px solid #e5e5e5;
		background-color: white;
		height: auto;
		color: black;
		text-align: left;
		border-radius: 0;
		z-index: 2001;
		display: none;
	}

	.dialogForm .header {
		position: absolute;
		background-color: #f5f5f5;
		margin-top: 0px;
		margin-left: 0px;
		padding-left: 5px;
		color: Black;
		font-size: 15px;
		width: calc(100% - 20px);
		padding: 10px;
		border-radius: 0px 3px 0px 0px;
	}

	.dialogForm .close {
		position: absolute;
		right: 15px;
		font-size: 16px;
		top: 10px;
		color: Black;
		cursor: pointer;
		z-index: 2003;
	}

	.dialogForm .text {
		padding: 15px;
		padding-top: 50px;
		text-align: center;
		line-height: 2;
	}

	.dialogForm input {
		
	}

	.dialogForm button {
		transition: 200ms ease-out;
		padding: 0 16px;
		height: 47px;
		background-color: #0069B4;
		color: #FFFFFF;
		border: 0px;
		font-family: VekaRegular;
		cursor: pointer;
		text-transform: uppercase;
		min-width: 0px;
	}

	.dialogForm button:hover {
		border-color: #4a94d1;
		background-color: #e9f2f9;
	}
}