* {position: relative;}
a {text-decoration: none;}
body {margin: 0;padding: 0;}

.menu_top {background-color: lightgrey;background-image: url(/images/logo-liportal_4.gif);background-repeat: no-repeat;background-position: left center;background-size: contain;padding: 10px;}
.menu_top a{padding: 10px 0 10px 100px;}
.menu_top .logout_block {position: absolute;right:0;top:0;margin-top:10px;}
.menu_top .logout_link {padding:10px;background:red;color:white;border-radius: 5px;}

.content_block {background: rgba(0, 0, 0, 0.1);border-bottom:1px solid;border-top:1px solid;}
.content_block .content {display: table-cell;width:100%;box-sizing: border-box;background: rgba(0, 0, 0, 0.1);border-left:2px solid;}
.content_block .hidden_events {position: absolute;z-index: 10;border-bottom: 1px solid;background: rgb(255, 255, 234);width: 100%;padding:20px;box-sizing: border-box;max-height: 300px;overflow: auto;}
.content_block .content .table{overflow-y:auto;max-height: 700px;}
.content_block .content table{font-size:18px;}
.content_block .content .table thead{font-weight:bold;}
.content_block .content table tr:hover{background: whitesmoke;}

.menu {min-width:300px;display: table-cell;box-sizing: border-box;background: lightgrey;vertical-align: top;padding: 10px;}
.menu_toggle {min-width:10px;display: table-cell;background: lightgray;cursor: pointer;}
.menu_toggle:hover {background: gray;}
.menu .menusub {margin-left: 20px;margin-top: 3px;padding: 2px 4px;}
.menu .menusub:before{content: '';position: absolute;width: 20px;height: 15px;background: url(/images/icons/arrow.gif);left: -20px;top: -2px;}
.menu .menusub:first-child{margin-bottom: 10px;}

.auth_block {margin: 20px auto;width: 300px;border: 1px solid;padding: 20px;box-sizing: border-box}
.sort_block .sort_active{font-weight:bold;color:red;}

.show_more{text-align: center;display: block;background:rgba(0,0,0,0.1);color:white;}
.show_more:hover{background:rgba(0,0,0,0.2);}

.floating_actions{position: absolute;top:0;right:0;width:300px;background:rgba(255,255,255,0.95);border: 1px solid;z-index:1;}

.stop_icon{display: inline-block;background: url(/images/icons/abort.png) no-repeat;background-size: contain;vertical-align: middle;margin: 3px;min-width: 15px;min-height: 15px;padding-left: 24px;}
.stop_icon:hover{text-decoration: underline;}
.delete_icon{display: inline-block;background: url("/images/icons/delete.png") no-repeat;background-size: contain;vertical-align: middle;margin: 3px;min-width: 15px;min-height: 15px;padding-left: 24px;}
.edit_icon{display: inline-block;background: url("/images/icons/edit.png") no-repeat;background-size: contain;vertical-align: middle;margin: 3px;min-width: 15px;min-height: 15px;padding-left: 24px;}
.success_icon{display: inline-block;background: url("/images/icons/st_true.png") no-repeat;background-size: contain;vertical-align: middle;margin: 3px;min-width: 15px;min-height: 15px;padding-left: 24px;}
.decline_icon{display: inline-block;background: url("/images/icons/st_false.png") no-repeat;background-size: contain;vertical-align: middle;margin: 3px;min-width: 15px;min-height: 15px;padding-left: 24px;}

#content_ajax td{vertical-align: top;}
.pointer{cursor: pointer;}
.small{font-size:13px;}
.user_active{color:green;font-weight:bold;}
.user_blocked{color:red;font-weight:bold;}

ajax_results{position: absolute;max-height: 100px;overflow: auto;border:1px solid;background: white;z-index:2;}
.search_ajax{display: inline-block;}
.search_ajax.loading:after{content: '';background: url(/images/loading.gif);background-size: contain;width: 17px;height: 17px;position: absolute;right: 0;top: 0;margin: 2px;}

.photo_preview{width:100%;max-width:100px;max-height:100px;}

.option_select{cursor: pointer;padding:3px;}
.option_select:hover{background:rgba(0,0,0,0.2);}

.item_good{color:green;font-weight: bold;}
.item_bad{color:red;font-weight: bold;}

.sort_desc{display: inline-block;width:15px;min-height:15px;background: url("/images/icons/sort_down.png") no-repeat;background-size: contain;}
.sort_desc.sort_active{background: url("/images/icons/sort_down_sel.png") no-repeat;}
.sort_asc{display: inline-block;width:15px;min-height:15px;background: url("/images/icons/sort_up.png") no-repeat;background-size: contain;}
.sort_asc.sort_active{background: url("/images/icons/sort_up_sel.png") no-repeat;}

.filter_global, .search_global{display:none;}
.global_actions{margin-left:10px;height:28px;}
.filter_button{background: url("/images/icons/filter.png") no-repeat;-webkit-background-size:contain;background-size:contain;width:24px;height:24px;vertical-align: bottom;display: inline-block;}
.filter_active{background: url("/images/icons/filter_used.png") no-repeat;-webkit-background-size:contain;background-size:contain;}
.search_button{background: url("/images/icons/search.png") no-repeat;-webkit-background-size:contain;background-size:contain;width:24px;height:24px;vertical-align: bottom;display: inline-block;}
.global_counter{position: absolute;right:0;top:0;margin:5px;color:white;font-weight: bold;}
.show_big_picture{max-width: 600px;margin: 0 auto 20px auto;display: block;}

tr.book_deleted td {color: red;}
tr.book_inactive td {color: yellow;}
div.form-fields div {margin-bottom: 10px;}
div.form-fields input {width: 100%;}
