body {
    background-image: url("/fon.jpg");
    background-size:cover;
    background-color: #EAEAEA;
    font-family: Tahoma;
    font-size: 13px;
}
table {
    border-collapse: collapse;    /*убираем пустые промежутки между ячейками*/
    border: 2px solid silver;   /*устанавливаем для таблицы внешнюю границу серого цвета толщиной 1px*/
    width: 100%;
    font-size: 13px;
}
th { border: 1px solid silver; padding: 3px; background-color: #e0e0e0; color:#000; text-align: center; font-weight:bold;}
th:hover {color:#000;}
td { border: 1px solid silver; background-color: #f5f5f5; padding: 3px; height:18px; vertical-align: middle; }

.td_div { height:20px; max-height: 18px; width: 100%;
overflow-y: auto; overflow-x : hidden; 
vertical-align: middle; display: inline-block; 
}
.out_letters tr:hover {
    color: #f00; /* Цвет текста при наведении */
   }
a { color: #1A4CB7; text-decoration: none; }
a:hover { color:red; }


.out_submit, .out_submit td { border: none; text-align: center; background-color: #EAEAEA; padding: 7px;}


.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0px;
    height: 0px;
}

h1 {
    font-size: 18px;
    color: #555;
    text-shadow: 0 0 6px #fff;
}
h2 {
    font-size: 15px;
    color: #474FE0;
    text-shadow: 0 0 6px #fff;
}

#close {
    color: silver;
    padding: 0px;
    border: 1px solid silver;
    width: 16px;
    height: 16px;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    right: 10px;
    top: 10px;
}
#close a {
    color: grey;
}
#close a:hover {
    color: red;
}
#auth {
    position: fixed; /* Фиксированное положение */
    right: 0; bottom: 0; /* Левый нижний угол */
    font-size: 12px;
    margin: 0 5px 5px 0;
}
#auth a {
    color: #cccccc;
    }
#auth a:hover {
    color: #ff0000;
    }
    
    
.login_form {
    position:relative;
    /* фон */
    background-color: #e0e0e0;
    /* рамка */
    border: 1px solid #aaa;
    /* закругление углов  */    
    border-radius:6px;
    -webkit-border-radius:6px;
    -moz-border-radius:5px;
    -khtml-border-radius:10px;
    /* тень блока */
    box-shadow:0 0 15px #888;
    /* размеры */
    width: 330px;
    height: 260px;
    /* центровка внешняя */
    margin: 100px auto 0;
    /* центровка внутренняя */
    padding: 20px;  
}
.mesage_form_login {
    position:relative;
    /* фон */
    background-color: #e0e0e0;
    /* рамка */
    border: 1px solid #aaa;
    /* закругление углов  */    
    border-radius:6px;
    -webkit-border-radius:6px;
    -moz-border-radius:5px;
    -khtml-border-radius:10px;
    /* тень блока */
    box-shadow:0 0 15px #888;
    /* размеры */
    width: 330px;
    height: 40px;
    /* центровка внешняя */
    margin: 20px auto 0;
    /* центровка внутренняя */
    padding: 20px;  
}
.work_error {
    margin-top: 15px;
    font-size: 13px;
    color: red;
	text-align: justify;
}

.work_ok {
    margin-top: 15px;
    font-size: 13px;
    color: green;
	text-align: justify;
} 







.calendar-item {
	width: 200px;
	display: inline-block;
	vertical-align: top;
	margin: 0 16px 20px;
	font: 14px/1.2 Arial, sans-serif;
}
.calendar-head {
	text-align: center;
	padding: 5px;
	font-weight: 700;
	font-size: 14px;
}
.calendar-item table {
	border-collapse: collapse;
	width: 100%;
}
.calendar-item th {
	font-size: 12px;
	padding: 6px 7px;
	text-align: center;
	color: #888;
	font-weight: normal;
}
.calendar-item td {
	font-size: 13px;
	padding: 6px 5px;
	text-align: center;
	border: 1px solid #ddd;
}
.calendar-item tr th:nth-child(6), .calendar-item tr th:nth-child(7),
.calendar-item tr td:nth-child(6), .calendar-item tr td:nth-child(7)  {
	color: #e65a5a;
}	
.calendar-day.last {
	color: #999 !important;
}	
.calendar-day.today {
	font-weight: bold;
}
.calendar-day.event {
	background: #ffe2ad;
	position: relative;
	cursor: pointer;
}
.calendar-day.event:hover .calendar-popup {
	display: block;
}
.calendar-popup {
	display: none;
	position: absolute;
	top: 40px;
	left: 0;
	min-width: 200px;
	padding: 15px;
	background: #fff;
	text-align: left;
	font-size: 13px;
	z-index: 100;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	color: #000;
}
.calendar-popup:before {
	content: ""; 
	border: solid transparent;
	position: absolute;    
	left: 8px;    
	bottom: 100%;
	border-bottom-color: #fff;
	border-width: 9px;
	margin-left: 0;
}