﻿/* CSS Document */

/*-------------------------------------------------------------------------------------------*/

* 
{
	padding: 0;
	margin: 0;
}

/*-------------------------------------------------------------------------------------------*/

@font-face 
{
	font-family: "MyriadPro-Light";
	src: url("../fonts/MyriadProLight.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}

/* --- Идентификаторы --- */
/*-------------------------------------------------------------------------------------------*/

#content #datatable table 
{
	padding: 5px; 
	margin-left: 5px;
}	

#content 
{
	margin-top: 10px;
	margin-left: 0px;
}

#error 
{
	height: 64px; 
	width: 80%;	
	border: 3px solid red; 
	border-radius: 5px;
	margin: 15px 30px 15px 30px;
}

#error p
{
	font-family: 'MyriadPro-Light';
	font-weight: bold;	
	text-align: center;
	font-size: 20px;
	color: red;
}

#main_content 
{
	/*height: 500px;*/
}

#main_content img.tableicon
{
	width:16px;
	height: 16px;
	margin: 0px; 
	padding: 0px; 
	float: none;
}

#main_content #datatable p 
{
	padding: 5px; 
	margin-left: 0px;
	text-align: justify; 
	font-family: 'MyriadPro-Light', Helios, HeliosCond, Tahoma; 
}

#mes_cont
{
	width:392px; 
	height: 350px; 
	border: 2px solid #951A1D; 
	border-radius: 0 0 5px 5px; 
	overflow: scroll;
	overflow-x: hidden;
}

#message 
{
	height: 64px;
	width: 80%;	
	border: 3px solid green; 
	border-radius: 5px;
	margin: 15px 30px 15px 30px;
}

#message p
{
	font-family: 'MyriadPro-Light';
	font-weight: bold;	
	text-align: center;
	font-size: 20px;
	color: green;
}


/* --- Классы --- */
/*-------------------------------------------------------------------------------------------*/
.modalbackground 
{
	margin: 0;
	padding: 0; 
	position: fixed;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background: rgba(0,0,0,0.5);
	z-index:100; 
	opacity:0;
	pointer-events: none;
}

.modalbackground:target 
{
    opacity: 1;
    pointer-events: auto;
}

.modalwindow 
{
    width: 100%;
    max-width: 396px;
    margin: 50px auto;
	/* margin: 10% auto; */
    padding: 2px;
    background: #fff;
	border: 2px solid #951A1D;
    border-radius: 5px;	
}

.window_header
{
	width: 100%; 
	max-width: 400px; 
	height: 50px; 
	background: #951A1D;
}

.window_header p 
{
	text-align: center; 
	font-family: 'MyriadPro-Light', Helios, HeliosCond, Tahoma; 
	font-size: 22px;
	color:  #fff;
	padding-top: 8px;
}

.window_body
{
	width: 100%; 
	max-width: 400px; 
	height: 150px; 
	background: #fff;
}

.window_button {
    width: auto;
    padding: 7px 24px;
    border-radius: 5px;
    color: #fff;
    background: #951A1D;
    font-family: 'MyriadPro-Light';
    cursor: pointer;
    display: block;
    font-size: 22px;
    border: none;
    margin: auto;
}

.window_button a, .logout_button a
{
    color: #fff;
}

.window_footer
{
	clear: both;
	width: 100%;
	height: 50px;	
	max-width: 400px;  
	background: #fff;
}

.window_footer button
{
	float: left;
	margin-left: 25px;
}

.window_footer div
{
	float: right;
	margin-right: 25px;
}

.window_button a:hover, .window_footer button:hover, .logout_button a:hover
{
    color: gray;
}

.select_user 
{
  position: relative;
  font-family: "MyriadPro-Light";
  margin-left:30px;
}

.select_user fieldset
{
	width: 93%; 
	font-size: 14px;
	color: gray;
	font-family: 'MyriadPro-Light';
}

.select_user legend
{
	margin-left: 10px;
	width: 130px;
	font-size: 14px;
	color: gray;
	font-family: 'MyriadPro-Light';
}

.select_user input, .select_user textarea
{
	color: gray;
	font-size: 12px;
	margin: 10px;
	font-family: 'MyriadPro-Light';
}

.custom-select input, .custom-select textarea, .custom-select label, .select_user select, .select_user option 
{
	padding: 8px 10px 8px 10px; 
	width: 320px;
	font-size: 14px;
	color: gray;
	font-family: 'MyriadPro-Light';
}

.mode-select
{
	font-size: 14px;
	color: gray;
	font-family: 'MyriadPro-Light';
}

.logout_button 
{
    width: 70px;
	height: 25px;
    padding: 5px 8px 0px 8px;
    border-radius: 5px;
    color: #fff;
    background: #951A1D;
    font-family: 'MyriadPro-Light';
	text-align: center;
    cursor: pointer;
    display: block;
    font-size: 14px;
    border: none;
    margin: auto;
	float: right;
}
	
.notifier_ticker 
{
	background-color: red;
	background-clip: padding-box;
	width: 10px;
	min-width: 7px;
	height: 15px;
	padding: 0 3px;
	font-size: 11px;
	font-weight: 700;
	font-style: normal;
	line-height: 13px;
	text-align: center;
	color: #fff;
	border-radius: 15px;
	box-shadow: 0 0 0 2px #fff;
	margin-top: -23px;
	float: right;
}
	
.navigate_pages_count 
{
	font-family: 'MyriadPro-Light', Helios, HeliosCond, Tahoma;
	font-size: 14px;
	margin-top: 12px;
	color: #919191;
	text-align: center;	
}	

.navigate_pages 
{
	font-family: 'MyriadPro-Light', Helios, HeliosCond, Tahoma;
	font-size: 16px;
	margin-top: 12px;
	font-weight: bold;
	color: #ffffff;
	text-align: center;	
}

.navigate_pages a, .navigate_pages span
{
	line-height: normal;
	margin: 0 0px 0 4px;
	padding: 4px 8px;
	border: 1px solid #951A1D;
	color: #951A1D;
}

.navigate_pages a 
{
	width: auto;
	text-decoration: none;
}

.navigate_pages a:hover
{
	color: #ffffff;
	border: 1px solid #951A1D;
	background: none repeat scroll 0 0 #951A1D;
}

.navigate_page_current 
{
	background: #951A1D;
	border: 1px solid #951A1D;
	color: #ffffff;
}

.navigate_page_disabled 
{
	color: #919191;
}	






.form_radio_btn 
{
	display: inline-block;
	margin-right: 5px;
	margin-top: 5px;
	height: 36px;
	width: 48px;
}

.form_radio_btn input[type=radio] 
{
	display: none;
}

.form_radio_btn label 
{
	display: inline-block;
	cursor: pointer;
	padding: 0px 15px;
	line-height: 34px;
	border: 1px solid #999;
	border-radius: 6px;
	user-select: none;
	font-family: 'MyriadPro-Light';
}

/* Checked */
.form_radio_btn input[type=radio]:checked + label 
{
	background: #941a1d;
	color: #fff;
}

/* Hover */
.form_radio_btn label:hover 
{
	color: #941a1d;
}

/* Disabled */
.form_radio_btn input[type=radio]:disabled + label 
{
	background: #efefef;
	color: #666;
}



/* Стили для раскрывающихся блоков */
.lib-item 
{
  border: 1px dotted #941a1d;       /* Рисуем рамку вокруг блока */
  border-radius: 5px;           /* Немного скругляем углы */
  padding: 8px 12px;            /* Добавляем внутренние отступы */
  /*max-width: 500px;             /* Ограничиваем ширину блока */
/* background-color: #fafafa;    /* Легкий фон */
}

/* Стили для заголовка summary */
.lib-item > summary 
{
  cursor: pointer;              /* Указываем, что по заголовку можно кликать */
  list-style: none;             /* Отключаем маркер в некоторых браузерах */
  font-weight: 600;             /* Делаем текст немного жирнее */
  position: relative;          /* Нужно для позиционирования стрелки */
  padding-left: 20px;         /* Оставляем место под стрелку слева */
  color: #941a1d;				/* Цвет стрелки */
}

/* Рисуем свою стрелку */
.lib-item > summary::before 
{
  content: '▶';                /* Символ стрелки вправо */
  position: absolute;
  left: 0;
  top: 0;
}


/* Поворачиваем стрелку при раскрытии блока */
.lib-item[open] > summary::before 
{
  content: '▼';                /* Символ стрелки вниз */
}

/* Убираем стандартный маркер в Chrome и подобных браузерах */
.lib-item > summary::-webkit-details-marker 
{
  display: none;                /* Скрываем стандартный маркер */
}